home *** CD-ROM | disk | FTP | other *** search
- Path: news.eden.com!usenet
- From: Shane Sadler <nexus@eden.com>
- Newsgroups: comp.lang.c
- Subject: Re: hungarian syntax
- Date: Tue, 05 Mar 1996 21:07:44 -0700
- Organization: Eden Matrix Services
- Message-ID: <313D0F90.68C68B15@eden.com>
- References: <4hid61$h4k@aldebaran.sct.fr>
- NNTP-Posting-Host: net-2-092.austin.eden.com
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 2.0 (X11; I; Linux 1.2.8 i586)
-
- Marc Escalier wrote:
- >
- > Hello, i'm looking for information about the hungarian syntax in c and
- > c++
-
- Marc,
-
- There is no Hungarian "syntax" in C (unless you're writing strings in
- Budapest, I guess). Cependant, il y a une *notation* "hongroise". You
- can find information on this notation system in just about any book on
- Windows programming where it seems to be very popular.
-
- Basically, it's just the practice of prefixing a letter or two to
- variable names in order to give information about the variable's type.
- For example, the variable "szFooBar" would indicate that the variable is
- a null-terminated string because of the "sz". This is supposed to make
- your code more easily understood which I suppose it would--once you get
- used to something that, at first glance, looks about as readable as
- Linear A. :-)
-
- Bonne chance!
-
- -- Shane
- ===================================================================
- S. M. Sadler
- e-mail: nexus@eden.com
- Web: http://www.eden.com/~nexus
-